@echo off

echo Create Install Vc.Framework to Gac

set msbuild="c:\windows\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe"
set gacutil="c:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\gacutil.exe" 

set configuration=Release


echo Building Vc.Framework ...
%msbuild% /nologo /target:Rebuild /verbosity:quiet /p:Configuration=%configuration% %2 "VC.FrameWork.csproj"
echo Done Vc.Framework

echo Start Gacutl ...
%gacutil% /u "Vc.Framework"
%gacutil% /i "..\binRelease\p301\Vc.Framework.dll"
copy "..\binRelease\p301\Vc.Framework.dll" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727"
copy "..\binRelease\p301\Vc.Framework.xml" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727"
echo Done Gacutl
pause
